import request from '@/utils/request'
import { ObjectType } from 'typings/interfaces'
import * as proxy from '@/constants/proxy'

export function fetchApprovalHistoryRequest(id: string): Promise<ObjectType> {
  return request({
    url: proxy.CHECC_API_BASE_DATA + `/BpmHisInstance/queryByBusId/${id}`,
    method: 'get',
  })
}
